﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SAchievement extends Object
    {
        public var id:int;
        public var status:int;
        public var curProcess:int;
        public var curProcessEx:Array;

        public function SAchievement()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.id);
            param1.writeInt(this.status);
            param1.writeInt(this.curProcess);
            SeqIntHelper.write(param1, this.curProcessEx);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.id = param1.readInt();
            this.status = param1.readInt();
            this.curProcess = param1.readInt();
            this.curProcessEx = SeqIntHelper.read(param1);
            return;
        }// end function

    }
}
